package com.xuanmiao.smsback.dao.mapper.sms;

import com.xuanmiao.smsback.dao.model.sms.MsgSendManageDO;
import com.xuanmiao.smsback.domain.qo.MessageSendManageQO;
import com.xuanmiao.smsback.domain.qo.MsgSendManageQO;

import java.util.List;

public interface MsgSendManageMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(MsgSendManageDO record);

    int insertSelective(MsgSendManageDO record);

    MsgSendManageDO selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MsgSendManageDO record);

    int updateByPrimaryKeyWithBLOBs(MsgSendManageDO record);

    int updateByPrimaryKey(MsgSendManageDO record);

    int countByQO(MessageSendManageQO messageSendManageQO);

    List<MsgSendManageDO> queryByQO(MessageSendManageQO messageSendManageQO);

    /**
     *  自定义方法
     */
    Integer countByParam(MsgSendManageQO qo);
    List<MsgSendManageDO> queryByParam(MsgSendManageQO qo);
    List<MsgSendManageDO> queryByParamNotPaging(MsgSendManageQO qo);

    MsgSendManageDO selectByPrimaryKeyForUpdate(Integer id);
}